﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Compiler.TableOfSymbols.Types
{
    public abstract class GenericClassTypeValue : ClassTypeValueNET
    {
        public GenericClassTypeValue(string name) 
            : base(name) 
        { }

        public override bool IsSimpleType
        {
            get { return false; }
        }

        public override bool IsSomeGenericType
        {
            get { return true; }
        }

        public abstract bool IsGenericTypeDefinition 
        { 
            get; 
        }
        public bool IsConstructedGenericType 
        {
            get { return !IsGenericTypeDefinition; }
        }
    }
}
